<?PHP
require_once("./include/membersite_config.php");

if(!$fgmembersite->CheckLogin())
{
    $fgmembersite->RedirectToURL("login.php");
    exit;
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <title>Home page</title>
<?php include 'imports.php'?>
</head>
<!-- <body> -->

<!-- <div class="navbar"> -->
<!--  <p class="navbar-brand"><?= $fgmembersite->UserFullName(); ?>!</p> -->
<!--   <a href='change-pwd.php' class="navbar-link">Change password</a> -->
<!--   <a href='access-controlled.php' class="navbar-link">A sample 'members-only' page</a> -->
<!--   <a href='logout.php' class="navbar-text pull-right navbar-link">Logout</a> -->
 
<!-- </div> -->
<!-- </body> -->
  <body>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
		       <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		      </button>
                <a href="#" class="brand"><?PHP echo $fgmembersite->UserFullName(); ?></a>
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <li><a href='change-pwd.php' class="navbar-link">Change Password</a></li>
                        <li> <a href='access-controlled.php' class="navbar-link">A sample 'members-only' page</a></li>
                       <li><a href='logout.php' class="pull-right navbar-link">Logout</a></li>
                    </ul>
                </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
